Release 10.1A: OpenEdge Development:
Java Open Clients
The _createSDOResultSet() method
You can call one of three overloaded versions of
_createSDOResultSet(), which supports different combinations of the four factory method parameters.This version uses the
KEEP_ROWSscrolling mode and the default where and sort expressions:
This version uses the
KEEP_ROWSscrolling mode:
This version uses whatever scrolling mode is specified by
parameters:
For more information, see the "Understanding SDOResultSet scrolling modes" section.
These parameters apply to
_createSDOResultSet():sdoName(Required) Specifies the filename of the SmartDataObject (
custSDO.w, for example).whereAllows the application to open a query with a where expression that is different than the default one specified when the SmartDataObject was created. For more information, see the description of the
setQueryWheremethod in OpenEdge Development: ADM Reference .sortByAllows the application to open a query with a sort expression that is different from the default one specified when the SmartDataObject was created. You can specify
sortByusing one of the following syntax styles:
fieldA valid database field referenced by the SmartDataObject. Specifying no fields (
"") is equivalent to null. Examples include:
"Name"
"Name, City"
"Name DESCEND, City, Zip"
"Name BY City"
"Name DESCEND BY City BY Zip"For more information on specifying
field, see the description of thesetQuerySortmethod in OpenEdge Development: ADM and SmartObjects .parametersUsed for passing any additional initial parameters to the ResultSet object, such as the scrolling mode. If
parametersdoes not specify a scrolling mode, the default is used.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |